﻿using University.Workshop.DataAccess.LanguagePack;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace University.Workshop.Tests
{
    
    
    /// <summary>
    ///This is a test class for LanguageClientSingletonTest and is intended
    ///to contain all LanguageClientSingletonTest Unit Tests
    ///</summary>
    [TestClass()]
    public class LanguageClientSingletonTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }


        /// <summary>
        ///A test for GetLanguageClient
        ///</summary>
        [TestMethod()]
        public void GetLanguageClientTest()
        {           
            string expected; ; // TODO: Initialize to an appropriate value
            string actual;
            actual = LanguageClientSingleton_Accessor.Instance.GetLanguageClient();
            expected = actual;
            Assert.AreEqual(expected, actual);
        }

        /// <summary>
        ///A test for Instance
        ///</summary>
        [TestMethod()]
        public void InstanceTest()
        {
            LanguageClientSingleton actual;
            actual = LanguageClientSingleton.Instance;            
        }

        /// <summary>
        ///A test for SetLanguageClient
        ///</summary>
        [TestMethod()]
        public void SetLanguageClientTest()
        {
            LanguageClientSingleton_Accessor.Instance.SetLanguageClient("ES-ES"); // TODO: Initialize to an appropriate value            
        }
    }
}
